/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * frmListaProvedor.java
 *
 * Created on 10/11/2011, 09:53:26 PM
 */

package Provedores;

import Beans.ProveedorBean;
import Blogic.ProveedorBLogic;
import java.util.Vector;
import javax.swing.JFrame;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import javax.swing.table.TableColumnModel;


/**
 *
 * @author orellana
 */
public class frmListaProvedor extends javax.swing.JFrame {

    // Atributos de la Clase
    private String col[]={"Nombre Proveedor","R.F.C.","Dias Credito","Limite Credito","Saldo","idProveedor"};
    public DefaultTableModel modelProveedores=new DefaultTableModel(col,0);
    private String proveedorSel="";

    /** Creates new form frmListaProvedor */
    public frmListaProvedor() {
        initComponents();
        // Posicion del Formulario
        this.setLocationRelativeTo(null);
        // Definimos el Redimensionamiento
        this.setResizable(false);
        // Definimos el Cerrado del Formulario
        this.setDefaultCloseOperation(HIDE_ON_CLOSE);
        // Definimos el Tamaño de las Columnas (Tabla)
        getTablaListadoProveedores();
        // Obtenemos Proveedores
        obtProveedores();
        // Para quitar el boton Min Max
        // this.setDefaultLookAndFeelDecorated(true);
        // JFrame frame = new JFrame("Frame");
        // removeMinMaxButtons(frame);
    }

    // Obtiene Proveedores Registrados
    public void obtProveedores(){
        // Variables Locales
        Vector datosProveedores=new Vector();
        ProveedorBean sqlBean=new ProveedorBean();

        // Realizamos la Consulta
        datosProveedores=(new ProveedorBLogic()).getDatosProveedores(sqlBean);
        // Validamos Registros Encontrados
        if (!datosProveedores.isEmpty()){
            // Vaciamos los Datos en la Tabla
            // Ciclo For
            for (int i=0;i<datosProveedores.size();i++){
                ProveedorBean detalleDatosProveedor=new ProveedorBean();
                detalleDatosProveedor=(ProveedorBean) datosProveedores.elementAt(i);
                // Vaciamos los Datos
                modelProveedores.addRow(new Object[]{detalleDatosProveedor.getNombreProveedor(),detalleDatosProveedor.getRfc(),detalleDatosProveedor.getDiasCredito(),"$ "+detalleDatosProveedor.getLimiteCredito(),"$ "+detalleDatosProveedor.getSaldo(),detalleDatosProveedor.getIdProveedor()});
            }
        }else{
            modelProveedores.addRow(new Object[]{"No existen Proveedores Registrados"});
        }

    }

    // Obtiene Tamaño Columnas Tabla
    private void getTablaListadoProveedores(){
        // Vaciamos el Modelo con los Datos
        tblListadoProveedores.setModel(modelProveedores);
        // Definimos el Tamaño de las Columnas
        // Nombre Proveedor
        tblListadoProveedores.getColumnModel().getColumn(0).setPreferredWidth(350);
        // RFC
        tblListadoProveedores.getColumnModel().getColumn(1).setPreferredWidth(80);
        // Dias Credito
        tblListadoProveedores.getColumnModel().getColumn(2).setPreferredWidth(55);
        // Limite de Credito
        tblListadoProveedores.getColumnModel().getColumn(3).setPreferredWidth(55);
        // Saldo
        tblListadoProveedores.getColumnModel().getColumn(4).setPreferredWidth(65);
        // IdProveedor
        tblListadoProveedores.getColumnModel().getColumn(5).setMinWidth(0);
        tblListadoProveedores.getColumnModel().getColumn(5).setMaxWidth(0);
    }

    // Limpiamos el Modelo de la Tabla
    private void deleteRowModelTable(){
        // Limpiamos el Modelo de la Tabla
        while (modelProveedores.getRowCount()>0){
            modelProveedores.removeRow(0);
        }
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jToolBar1 = new javax.swing.JToolBar();
        jButton7 = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        txtNombreProveedor = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        txtRfcProveedor = new javax.swing.JTextField();
        jLabel4 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        tblListadoProveedores = new javax.swing.JTable();
        lblTituloHeader = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(sistemapegasso.SistemaPegassoApp.class).getContext().getResourceMap(frmListaProvedor.class);
        setTitle(resourceMap.getString("Form.title")); // NOI18N
        setName("Form"); // NOI18N
        setResizable(false);

        jToolBar1.setFloatable(false);
        jToolBar1.setRollover(true);
        jToolBar1.setEnabled(false);
        jToolBar1.setName("jToolBar1"); // NOI18N

        jButton7.setIcon(resourceMap.getIcon("jButton7.icon")); // NOI18N
        jButton7.setBorderPainted(false);
        jButton7.setContentAreaFilled(false);
        jButton7.setFocusable(false);
        jButton7.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jButton7.setName("jButton7"); // NOI18N
        jButton7.setPreferredSize(new java.awt.Dimension(38, 38));
        jButton7.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jButton7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton7ActionPerformed(evt);
            }
        });
        jToolBar1.add(jButton7);

        jButton4.setFont(resourceMap.getFont("jButton4.font")); // NOI18N
        jButton4.setIcon(resourceMap.getIcon("jButton4.icon")); // NOI18N
        jButton4.setText(resourceMap.getString("jButton4.text")); // NOI18N
        jButton4.setToolTipText(resourceMap.getString("jButton4.toolTipText")); // NOI18N
        jButton4.setBorderPainted(false);
        jButton4.setContentAreaFilled(false);
        jButton4.setFocusable(false);
        jButton4.setName("jButton4"); // NOI18N
        jButton4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton4ActionPerformed(evt);
            }
        });
        jToolBar1.add(jButton4);

        jButton1.setFont(resourceMap.getFont("jButton1.font")); // NOI18N
        jButton1.setIcon(resourceMap.getIcon("jButton1.icon")); // NOI18N
        jButton1.setText(resourceMap.getString("jButton1.text")); // NOI18N
        jButton1.setToolTipText(resourceMap.getString("jButton1.toolTipText")); // NOI18N
        jButton1.setBorderPainted(false);
        jButton1.setContentAreaFilled(false);
        jButton1.setFocusable(false);
        jButton1.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jButton1.setName("jButton1"); // NOI18N
        jButton1.setPreferredSize(new java.awt.Dimension(28, 34));
        jButton1.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });
        jToolBar1.add(jButton1);

        jButton2.setFont(resourceMap.getFont("jButton2.font")); // NOI18N
        jButton2.setIcon(resourceMap.getIcon("jButton2.icon")); // NOI18N
        jButton2.setText(resourceMap.getString("jButton2.text")); // NOI18N
        jButton2.setToolTipText(resourceMap.getString("jButton2.toolTipText")); // NOI18N
        jButton2.setBorderPainted(false);
        jButton2.setContentAreaFilled(false);
        jButton2.setFocusable(false);
        jButton2.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jButton2.setName("jButton2"); // NOI18N
        jButton2.setPreferredSize(new java.awt.Dimension(28, 34));
        jButton2.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton2ActionPerformed(evt);
            }
        });
        jToolBar1.add(jButton2);

        jButton3.setFont(resourceMap.getFont("jButton3.font")); // NOI18N
        jButton3.setIcon(resourceMap.getIcon("jButton3.icon")); // NOI18N
        jButton3.setText(resourceMap.getString("jButton3.text")); // NOI18N
        jButton3.setToolTipText(resourceMap.getString("jButton3.toolTipText")); // NOI18N
        jButton3.setBorderPainted(false);
        jButton3.setContentAreaFilled(false);
        jButton3.setFocusable(false);
        jButton3.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
        jButton3.setName("jButton3"); // NOI18N
        jButton3.setPreferredSize(new java.awt.Dimension(28, 34));
        jButton3.setVerticalTextPosition(javax.swing.SwingConstants.BOTTOM);
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });
        jToolBar1.add(jButton3);

        jTabbedPane1.setFont(resourceMap.getFont("jTabbedPane1.font")); // NOI18N
        jTabbedPane1.setName("jTabbedPane1"); // NOI18N

        jPanel1.setName("jPanel1"); // NOI18N

        jLabel2.setFont(resourceMap.getFont("jLabel2.font")); // NOI18N
        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        txtNombreProveedor.setFont(resourceMap.getFont("txtNombreProveedor.font")); // NOI18N
        txtNombreProveedor.setText(resourceMap.getString("txtNombreProveedor.text")); // NOI18N
        txtNombreProveedor.setName("txtNombreProveedor"); // NOI18N

        jLabel3.setFont(resourceMap.getFont("jLabel3.font")); // NOI18N
        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        txtRfcProveedor.setFont(resourceMap.getFont("txtRfcProveedor.font")); // NOI18N
        txtRfcProveedor.setName("txtRfcProveedor"); // NOI18N
        txtRfcProveedor.setPreferredSize(new java.awt.Dimension(10, 21));

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(14, Short.MAX_VALUE)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(txtNombreProveedor, javax.swing.GroupLayout.PREFERRED_SIZE, 451, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(6, 6, 6)
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(txtRfcProveedor, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(txtNombreProveedor, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel3)
                    .addComponent(txtRfcProveedor, javax.swing.GroupLayout.PREFERRED_SIZE, 21, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(7, 7, 7))
        );

        jTabbedPane1.addTab(resourceMap.getString("jPanel1.TabConstraints.tabTitle"), jPanel1); // NOI18N

        jLabel4.setBackground(resourceMap.getColor("jLabel4.background")); // NOI18N
        jLabel4.setFont(resourceMap.getFont("jLabel4.font")); // NOI18N
        jLabel4.setForeground(resourceMap.getColor("jLabel4.foreground")); // NOI18N
        jLabel4.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N
        jLabel4.setName("jLabel4"); // NOI18N
        jLabel4.setOpaque(true);

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        tblListadoProveedores.setFont(resourceMap.getFont("tblListadoProveedores.font")); // NOI18N
        tblListadoProveedores.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {},
                {},
                {},
                {}
            },
            new String [] {

            }
        ));
        tblListadoProveedores.setName("tblListadoProveedores"); // NOI18N
        tblListadoProveedores.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                tblListadoProveedoresMouseClicked(evt);
            }
        });
        jScrollPane1.setViewportView(tblListadoProveedores);

        lblTituloHeader.setBackground(resourceMap.getColor("lblTituloHeader.background")); // NOI18N
        lblTituloHeader.setIcon(resourceMap.getIcon("lblTituloHeader.icon")); // NOI18N
        lblTituloHeader.setText(resourceMap.getString("lblTituloHeader.text")); // NOI18N
        lblTituloHeader.setName("lblTituloHeader"); // NOI18N
        lblTituloHeader.setOpaque(true);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(lblTituloHeader, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 847, Short.MAX_VALUE)
            .addComponent(jToolBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 847, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 823, Short.MAX_VALUE)
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, 823, Short.MAX_VALUE)
                .addContainerGap())
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 823, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(lblTituloHeader, javax.swing.GroupLayout.PREFERRED_SIZE, 53, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jToolBar1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 74, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel4)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 247, Short.MAX_VALUE)
                .addContainerGap())
        );

        jTabbedPane1.getAccessibleContext().setAccessibleName(resourceMap.getString("jTabbedPane1.AccessibleContext.accessibleName")); // NOI18N

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
        // TODO add your handling code here:
        // Evaluamos si Selecciono algun Proveedor a Modificar
        if (!this.proveedorSel.equalsIgnoreCase("")){
            // Cargamos el Formulario (Modificar Proveedor)
            frmProvedores modificarProveedor=new frmProvedores(2);
            // Cambiamos titulo de la ventana de (Modificar Proveedor)
            modificarProveedor.setTitle("Modificar Proveedor");
            // Seteamos los Datos
            modificarProveedor.setIdProveedor(proveedorSel);
            // Obtenemos los Datos del Proveedor
            modificarProveedor.obtDatosProveedor();
            // Cambiamos el Valor de ProveedorSel
            proveedorSel="";
            // Mostramos el Formualrio
            modificarProveedor.setVisible(true);
        }else{
            // Mensaje al Usuario
            JOptionPane.showMessageDialog(null,"Debe Seleccionar un Proveedor a Modificar, Verifique...","Proveedores",JOptionPane.WARNING_MESSAGE);
        }
    }//GEN-LAST:event_jButton1ActionPerformed

    private void jButton7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton7ActionPerformed
        // TODO add your handling code here:
        // Cargamos el Formulario (Alta Proveedor)
        frmProvedores altaProveedor=new frmProvedores(1);
        // Mostramos el Formualrio
        altaProveedor.setVisible(true);
        
    }//GEN-LAST:event_jButton7ActionPerformed

    private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
        // TODO add your handling code here:
        //Cerramos la ventana de listado de Proveedores
        this.setVisible(false);
    }//GEN-LAST:event_jButton3ActionPerformed

    private void tblListadoProveedoresMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_tblListadoProveedoresMouseClicked
        // TODO add your handling code here:
        this.proveedorSel=tblListadoProveedores.getValueAt(tblListadoProveedores.getSelectedRow(),5).toString();
    }//GEN-LAST:event_tblListadoProveedoresMouseClicked

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
        // TODO add your handling code here:
        // Variables Locales
        ProveedorBean sqlBean=new ProveedorBean();
        Vector rsDeleteProveedor=new Vector();

        // Eliminamos el Proveedor Seleccionado
        // Evaluamos si selecciono un registro
        if (!proveedorSel.equalsIgnoreCase("")){
            // Mensaje al Usuario
            int conElim=JOptionPane.showConfirmDialog(null,"Eliminar el Proveedor Seleccionado?","Eliminar Producto",JOptionPane.YES_NO_OPTION);
            // Evaluamos Respuesta
            if (JOptionPane.YES_OPTION==conElim){
                // Seteamos los Datos
                sqlBean.setIdProveedor(proveedorSel);
                // Eliminamos Proveedor
                rsDeleteProveedor=(new ProveedorBLogic()).deleteDatosProveedor(sqlBean);
                // Limpiamos la Tabla
                deleteRowModelTable();
                // Actualizamos la Tabla
                obtProveedores();
                // Evaluamos Respuesta
                if (rsDeleteProveedor.elementAt(0).toString().equalsIgnoreCase("OK")){
                    // Mensaje al Usuario
                    JOptionPane.showMessageDialog(null,"Proveedor Eliminado Satisfactoriamente","Eliminar",JOptionPane.INFORMATION_MESSAGE);
                    // Limpiamos Variable
                    proveedorSel="";
                }else{
                    // Mensaje al Usuario
                    JOptionPane.showMessageDialog(null,"Ocurrio un Error al Momento de Eliminar el Proveedor","Eliminar",JOptionPane.ERROR_MESSAGE);
                }
            }
        }else{
            // Mensaje al Usuario
            JOptionPane.showMessageDialog(null,"Debe Seleccionar un Proveedor a Eliminar, Verifique","Eliminar",JOptionPane.ERROR_MESSAGE);
        }
    }//GEN-LAST:event_jButton2ActionPerformed

    private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
        // TODO add your handling code here:
        // Variables Locales
        ProveedorBean sqlBean=new ProveedorBean();
        Vector datosProveedorActivo=new Vector();
        // Realizamos la Busqueda de los Proveedores
        // Seteamos los Datos
        sqlBean.setNombreProveedor(txtNombreProveedor.getText());
        sqlBean.setRfc(txtRfcProveedor.getText());
        datosProveedorActivo=(new ProveedorBLogic()).buscarDatosProveedorActivo(sqlBean);
        // Limpiamos la Tabla
        deleteRowModelTable();
        // Evaluamos Resultado Obtenido
        if (datosProveedorActivo.size()!=0){
            // Agregamos los Datos al Modelo
            for (int i=0;i<datosProveedorActivo.size();i++){
                // Vaciamos los Datos
                ProveedorBean proveedoresActivos=new ProveedorBean();
                proveedoresActivos=(ProveedorBean) datosProveedorActivo.elementAt(i);
                // Agregamos los Datos al Modelo de la Tabla
                modelProveedores.addRow(new Object[]{proveedoresActivos.getNombreProveedor(),proveedoresActivos.getRfc(),proveedoresActivos.getDiasCredito(),proveedoresActivos.getLimiteCredito(),proveedoresActivos.getSaldo(),proveedoresActivos.getIdProveedor()});
            }
        }else{
            // Vaciamos Registro No Existen Proveedores Registrados
            modelProveedores.addRow(new Object[]{"No existen Proveedores Registrados"});
        }
    }//GEN-LAST:event_jButton4ActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton7;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JToolBar jToolBar1;
    private javax.swing.JLabel lblTituloHeader;
    private javax.swing.JTable tblListadoProveedores;
    private javax.swing.JTextField txtNombreProveedor;
    private javax.swing.JTextField txtRfcProveedor;
    // End of variables declaration//GEN-END:variables

}
